package com.hicorp.segment.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hicorp.segment.pojo.BaseNoDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Transient;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class Mould extends BaseNoDO {

    /**
     * 编号
     */
    private String baseNo;

    private String categoryName;

    private String categoryNo;

    private String rfidNo;

    private String manufacturer;

    private String specificationSize;

    private String unit;

    private Integer cumulativeUsageTimes;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date incomingTime;

    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date incomingTimeStart;

    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date incomingTimeEnd;

}
